<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/7/21
 * Time: 11:31
 */

namespace app\admin\controller;


use app\model\UserModel;
use think\facade\Request;
use think\facade\Validate;
use think\facade\View;

class User
{
    public function index()
    {
        // 查找分类数据
        $user = UserModel::select();

        View::assign('user', $user);
        return View::fetch();
    }
}